package org.bob.learn.dao.entity;

import lombok.Data;
import org.springframework.data.annotation.Id;
import org.springframework.data.relational.core.mapping.Table;

import java.io.Serial;
import java.io.Serializable;
import java.time.LocalDate;

@Data
@Table(name = "student")
public class  Student implements Serializable {

    @Serial
    private static final long serialVersionUID = 1L;

    @Id
    private Long id;

    private String no;

    private String name;

    private Byte gender;

    private LocalDate birthday;

    private LocalDate createTime;

    private LocalDate updateTime;
}
